package service;

import entity.User;

public interface UserService {

	boolean add(User user);
	
	User login(String account, String password);

	boolean registerByEmail(User user);

	boolean active(String account, String code);
}
